package cn.xiaohuodui.form.user;

import cn.xiaohuodui.form.AbstractUserForm;
import org.hibernate.validator.constraints.NotBlank;

/**
 * Author :keepcleargas
 * Date   :2016-12-29 11:27.
 */
public class SocialLoginForm extends AbstractUserForm {
    @NotBlank
    private String socialId;
    private int socialType; //0 微信 1 微博 2 QQ
    private String socialUnionId;
    private String nickname;
    private String avatar;
    private String intro;
    private int platform;
    private String device;

    public String getSocialUnionId() {
        return socialUnionId;
    }

    public void setSocialUnionId(String socialUnionId) {
        this.socialUnionId = socialUnionId;
    }

    public String getSocialId() {
        return socialId;
    }

    public void setSocialId(String socialId) {
        this.socialId = socialId;
    }

    public int getSocialType() {
        return socialType;
    }

    public void setSocialType(int socialType) {
        this.socialType = socialType;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public int getPlatform() {
        return platform;
    }

    public void setPlatform(int platform) {
        this.platform = platform;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }
}
